﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Person.aspx.cs" Inherits="Demo.Web.Forms.WebForm1" %>
<%@ Register assembly="Ext.Net" namespace="Ext.Net" tagprefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:ResourceManager ID="ResourceManager1" runat="server" />
    <ext:Panel 
            ID="Panel1" 
            runat="server" 
            Title="Simple Form"
            PaddingSummary="5px 5px 0"
            Width="350"
            Frame="true"
            ButtonAlign="Center"
            Layout="AnchorLayout">
            <Items>
                <ext:TextField runat="server" FieldLabel="First Name" AllowBlank="false" AnchorHorizontal="100%" />
                <ext:TextField runat="server" FieldLabel="Last Name" AnchorHorizontal="100%" />
                <ext:TextField runat="server" FieldLabel="Company" AnchorHorizontal="100%" />
                <ext:TextField runat="server" FieldLabel="Email" Vtype="email" AnchorHorizontal="100%" />
            </Items>
            <Buttons>
                <ext:Button runat="server" Text="Save" />
                <ext:Button runat="server" Text="Cancel" />
            </Buttons>
        </ext:Panel>

    </form>
</body>
</html>
